package com.ke.searchhouse.service;

import com.ke.searchhouse.dto.UserDTO;
import com.ke.searchhouse.entity.User;
import com.ke.searchhouse.util.ServiceResult;

/**
 * @author  keke
 * @create  2018/10/10 0010 下午 9:54
 * @desc 用户服务
 **/
public interface IUserService {

    User findUserByName(String userName);

    ServiceResult<UserDTO> findById(Long adminId);

    User findUserByTelephone(String telephone);

    User addUserByPhone(String telephone);
}
